package aynu.oracle.video.pojo;

public class Author {

    private Integer id;
    private String name;
    // 学院
    private String college;

    public Author() {
    }

    public Author(Integer id, String name, String college) {
        this.id = id;
        this.name = name;
        this.college = college;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    @Override
    public String toString() {
        return "Author{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", college='" + college + '\'' +
                '}';
    }
}
